package com.qwc.blog.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author qiuwencong
 * @Date 2022/2/24 16:38
 * @Package com.qwc.blog.entity.dto
 * @Description
 */
@Data
public class ArticleDto {
    private Integer articleId;
    @NotBlank(message = "标题不能为空")
    private String title;
    private String summary;
    private String thumbnail;
    @NotBlank(message = "请选择是否评论")
    private String isComment;
    @NotNull(message = "请排序")
    private Integer sort;
    @NotBlank(message = "请选择状态")
    private String status;
    private List<Integer> classifyIds;
    private List<String> tagIds;
    private String content;
}
